import { createApp } from "vue";

import store from "./store";

import App from "./App.vue";

/*
  vue2中全局的方法都在Vue上
    Vue.use() / Vue.component() / Vue.directive() ...
  Vue3中全局的方法都在app上
    app.use() / app.component() / app.directive() ...
*/
// const app = createApp(App);
// // 应用store
// app.use(store);

// app.mount("#app");

createApp(App).use(store).mount("#app");
